package com.mrobuy.jdvc.dao;

import com.mrobuy.jdvc.entity.Item;
import com.mrobuy.util.Pagination;

import java.util.List;

public interface ItemDao {

    /**
     * 列表
     */
    List<Item> list();


    Pagination load(int start, int length, Item condition);

    Item load(String code);

    List<Item> queryItems(String code, String type);

    Item queryItem(String code, String type);
}
